package jroguelike.main.items;

import jroguelike.main.ItemClass;
import jroguelike.main.RLItem;
import jroguelike.utils.Dice;

/**
 * Created by IntelliJ IDEA.
 * User: aimozg
 * Date: 01.08.11
 * Time: 0:55
 */
public class MeleeWeapon extends RLItem {
	public Dice damage = Dice.ZERO;

	public MeleeWeapon() {
		super(ItemClass.WEAPON);
	}

	@Override
	public MeleeWeapon makeClone() {
		MeleeWeapon other = new MeleeWeapon();
		copyTo(other);
		other.damage = damage;
		return other;
	}

	@Override
	public String displayName() {
		return name + "(" + damage + ")";
	}
}
